home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / PC-TASK.adf / PC-Task.doc < prev    next >
Text File  |  1992-08-18  |  42KB  |  1,140 lines

  1.  
  2.  
  3.                        PC-Task Manual V1.11
  4.  
  5.              IBM PC emulation for the Amiga range of computers
  6.  
  7.                     Copyright 1992 by Chris Hames
  8.  
  9.                     All Rights Reserved Worldwide
  10.  
  11.  
  12. ***************************************************************************
  13.  
  14.  
  15. Copyright
  16.  
  17.      PC-Task software and documentation are copyright Chris Hames.  No part
  18. may  be reproduced, transmitted, translated into other languages, posted to
  19. a  network, or distributed by electronic or other means without the express
  20. written  permission  of  the  author Chris Hames.  This software may not be
  21. rented,  lent  or  leased.   You  may not decompile, disassemble or reverse
  22. engineer the software.
  23.  
  24.  
  25. Disclaimer
  26.  
  27.      No  responsibility  or  liability will be accepted for any damage that
  28. may  appear  to have resulted from use of this program.  All use is at your
  29. own risk.  The software is provided "as is" without any warranty implied or
  30. otherwise  to  the  fitness  or accuracy of the software and documentation.
  31. The  documentation  is  believed  to be correct but the author reserves the
  32. right to update the software and/or documentation without notice.
  33.  
  34.  
  35. TradeMarks
  36.  
  37. Commodore  is  a  registered  trademarks of Commodore Electronics, Ltd.
  38. Amiga,  Amiga 500, Amiga 2000, Amiga 3000, AmigaDOS, Amiga Kickstart, Amiga
  39. Workbench are trademarks of Commodore-Amiga, Inc.
  40. IBM,  CGA  and  MDA  are  trademarks of International Business Machines
  41. Corp.
  42. MS-DOS is a registered trademark of Microsoft Inc.
  43. All other trademarks are trademarks of their relative Companies.
  44.  
  45.  
  46. ***************************************************************************
  47.  
  48.  
  49. Contents
  50.  
  51.  
  52.              General Information
  53.  
  54.  
  55.      Introduction                                        1.1
  56.      System Requirements                                 1.2
  57.      Backing up your PC-Task Disk                        1.3
  58.      Installing PC-Task on your Hard Disk                1.4
  59.  
  60.  
  61.              Starting and Configuring
  62.  
  63.  
  64.      Starting PC-Task                                    2.1
  65.      Option Screen and starting the Emulator             2.2
  66.      Saving options/Using defaults/Quitting              2.3
  67.      Floppy Drive options                                2.4
  68.      Hard Drive options                                  2.5
  69.      CGA/MDA options                                     2.6
  70.      Parallel and Serial options                         2.7
  71.      Priority options                                    2.8
  72.      Memory options                                      2.9
  73.      ToolTypes/ShellArguments                            2.10
  74.  
  75.  
  76.              Emulating
  77.  
  78.  
  79.      General Emulating info                              3.1
  80.      Turning the Mouse Driver on                         3.2
  81.      Quitting the Emulator                               3.3
  82.  
  83.  
  84.              Using your PC
  85.  
  86.  
  87.      Resetting the emulator                              4.1
  88.      Getting programs to work                            4.2
  89.      Using DOS                                           4.3
  90.      Using PC-Task DOS utils CopyToA & CopyToI           4.4
  91.  
  92.  
  93.  
  94.              Amiga Technical Information
  95.  
  96.  
  97.      Creating a Hard Drive partition                     5.1
  98.      Creating fast temporary Drive in ram                5.2 
  99.      Amiga <-> IBM file exchanging with Floppies         5.3
  100.      Amiga <-> IBM file exchanging with File Drives      5.4
  101.      Amiga <-> IBM file exchanging with Partitions       5.5
  102.      Using a 5 1/4 40 track drive to read 360K disks     5.6
  103.      Getting as much memory as possible                  5.7
  104.      Getting faster emulation                            5.8
  105.  
  106.  
  107.              IBM PC Technical Information
  108.  
  109.  
  110.      IBM PC Boot Procedure                               6.1
  111.  
  112.  
  113.              Other Information
  114.  
  115.  
  116.      Technical Support                                   7.1
  117.      Troubleshooting                                     7.2
  118.      Glossary                                            7.3
  119.      References                                          7.4
  120.  
  121.  
  122. ***************************************************************************
  123.  
  124.  
  125.           1.1 Introduction
  126.           ****************
  127.  
  128.  
  129.      Even  though  the Amiga range of computers are excellent, the world PC
  130. market  is  still  dominated  by  IBM  PC's.  So you might want to run some
  131. programs  written  for  the  IBM PC but don't want to buy another computer.
  132. This is where PC-Task comes in, it allows you to run the majority of IBM PC
  133. programs  on  your  Amiga  computer  and  hence  make use of the memory and
  134. peripherals  you already have.  The speed of PC-Task is directly related to
  135. the speed of you Amiga so when you make your Amiga faster your PC emulation
  136. becomes faster.
  137.  
  138.      Multitasking  is  what  has  set  the  Amiga apart from other PC's and
  139. PC-Task  works fully without taking over the machine.  PC-Task just becomes
  140. another application screen that you switch to when wanted.
  141.  
  142.      The  emulator supports two floppy drives as well as two hard drives so
  143. that  you  have a versatile environment.  Pseudo hard drives can be created
  144. as  a  file  on  your  hard  disk.   This feature allows the use of already
  145. created  bridgeboard pseudo hard drive files.  You can also use a partition
  146. as a hard drive.
  147.  
  148.      MSDOS  is not supplied, I suggest you use version 5.0 or 3.3.  You can
  149. produce  a  720K  bootable(system)  disk usually by putting a 3.5 inch DSDD
  150. disk  into  a  real  IBM  computer(or  compatible  and  at the MSDOS prompt
  151. typing(Assuming you put it in the A:  drive):-
  152.  
  153.      "format a: /s" OR "format a: /s /f:720" OR "format a: /s /n:9"
  154.  
  155.      The  manual  tries  to  keep  things  easy to understand with the more
  156. technical  information  that  might  be  of use to a advanced user in later
  157. sections.
  158.  
  159.  
  160.           1.2 System Requirements
  161.           ***********************
  162.  
  163.  
  164.      PC-Task  requires an Amiga 500, 1000, 2000, 3000 with at least 512K of
  165. ram.   Versions for 68000, 68010, 68020+(and later) processors are provided
  166. on the disk.  The system must be running Kickstart/Workbench 1.2 or later.
  167.  
  168.  
  169.           1.3 Backing up your PC-Task Disk
  170.           ********************************
  171.  
  172.  
  173.      The PC-Task disk can be copied so that should something happen to your
  174. copy you can continue to use the program by obtaining another copy from the
  175. original  disk.   Consult your Workbench manuals for further information on
  176. making backups.
  177.  
  178.      You  can only make a backup for your own personal use.  Please respect
  179. the  enormous amount of work gone into this product and do not make illegal
  180. copies  for  other  people.   The more registered users of this product the
  181. better for you as it will promote further development of the software.
  182.  
  183.  
  184.           1.4 Installing PC-Task on your Hard Disk
  185.           ****************************************
  186.  
  187.  
  188.      Boot  off  your  hard  disk  or a workbench disk into workbench.  Then
  189. insert  the  PC-Task disk.  You should now be looking at a workbench screen
  190. with  the  disk icon for PC-Task.  Double click the PC-Task disk icon and a
  191. window  will  be displayed.  In this window are various versions of PC-Task
  192. as  well  as a utility call TDPatch1213.  Open the drawer of your hard disk
  193. where you wish to put PC-Task.  Now you must drag at least one of the icons
  194. across  from the PC-Task window to the drawer on your hard disk.  If have a
  195. system which is running Kickstart/Workbench 1.2 or 1.3 drag the TDPatch1213
  196. icon  to  your hard disk.  Now you need to drag one of the PC-Task programs
  197. to your hard disk.  Which one depends on which processor your machine has:-
  198.  
  199. PC-Task68000    is for 68000 machines such as stock Amiga 500, 1000,
  200.                 2000's.
  201.  
  202. PC-Task68010    is for 68010 machines which no current amiga comes with
  203.                 but someone might have installed.
  204.  
  205. PC-Task68020+   is for 68020 or later processors such as stock A3000's.
  206.  
  207.  
  208.      You  could  of course drag all three versions across to your hard disk
  209. but this would waste some space as only one will work on your machine.
  210.  
  211.  
  212. ***************************************************************************
  213.  
  214.  
  215.           2.1 Starting PC-Task
  216.           ********************
  217.  
  218.  
  219.      If  you  are running under kickstart 1.2 or 1.3 then you need to first
  220. double  click  the  TDPatch1213  program.  This program fixes bugs and adds
  221. some features to kickstart to allow reading and writing to IBM floppy disks
  222. when running PC-Task.
  223.  
  224.      Now you must choose the correct version of PC-Task for your machine to
  225. run.   It is dependent on your processor.  Here is a guide to which version
  226. is for your machine:-
  227.  
  228. PC-Task68000    is for 68000 machines such as stock Amiga 500, 1000,
  229.                 2000's.
  230.  
  231. PC-Task68010    is for 68010 machines which no current amiga comes with
  232.                 but someone might have installed.
  233.  
  234. PC-Task68020+   is for 68020 or later processors such as stock A3000's.
  235.  
  236.      To  start  PC-Task  just  double click the icon of the program that is
  237. appropriate  to  your machine.  The program should then load up and display
  238. an option screen.
  239.  
  240.      If  the  option  screen  did  not  appear  but  instead a error window
  241. appeared  and  said you had the wrong processor then you have run the wrong
  242. version of PC-Task for you machine so try a different version.
  243.  
  244.  
  245.           2.2 Option Screen and starting the Emulator
  246.           *******************************************
  247.  
  248.  
  249.      The  option  screen  allows  you  to  change  various functions of the
  250. emulator  but  the  only  thing you must do to begin emulating is click the
  251. start button or press the return key.
  252.  
  253.  
  254.           2.3 Saving options/Using defaults/Quitting
  255.           ******************************************
  256.  
  257.  
  258.      The  option screen has three gadgets at the bottom right of the screen
  259. that control the configuration of PC-Task.
  260.  
  261.  
  262. Use Defaults
  263.  
  264.      This resets all options to the default initial values.
  265.  
  266.  
  267. Save Configuration
  268.  
  269.      This   creates   a   file   called   "PC.config"  which  contains  the
  270. configuration  as  currently  set.  PC-Task attempts to load this file each
  271. time it is executed and will use its values if found.
  272.  
  273.  
  274. Quit
  275.  
  276.      Just quits PC-Task from the option screen.
  277.  
  278.  
  279.           2.4 Floppy Drive options
  280.           ************************
  281.  
  282.  
  283.      On  the  bottom  left  of  the  option  screen are the assignments for
  284. PC-Task's  floppy  drives A and B.  The floppy drives can be be assigned to
  285. any  device and will in be used in the emulation as the PC's A and B drive.
  286. All  you  have  to  do  is  enter  the  name of the drive into the two text
  287. gadgets.   By  default  they are assigned to DF0:  for A and to DF1:  for B
  288. which are the first two Amiga floppy disk drives.
  289.  
  290.      If  you  have  two  external floppy drives you might want to use those
  291. instead  and give your default internal floppy drive DF0:  a rest.  In this
  292. case you would set A to DF1:  and B to DF2:  or visa versa.
  293.  
  294.      The  drives  by  default  are used as IBM PC 720K drives and hence can
  295. only  read  disks of that format.  Please note the standard Amiga drives DO
  296. NOT  read  3.5inch  1.44 Meg IBM PC disks.  Some new machines are now being
  297. sold  with  a  new drive which allows the reading of High Density (1.44Meg)
  298. disks.   To  find out if your drive can read such disks place a HighDensity
  299. disk  (they  have  the  extra  hole)  in  a  drive and format it from Amiga
  300. Workbench  (You  must  be running Kickstart 2.0 or later).  If it creates a
  301. disk with capacity 1.7Meg then you have a high density drive.
  302.  
  303.      People  who  mount  their drives as IBM format drives so they can read
  304. and  write  files using the ShareWare software MSH (see references section)
  305. or  other similar pieces of software might be better using the name mounted
  306. for use with that software instead of the default DF0:  etc.
  307.  
  308.  
  309.           2.5 Hard Drive options
  310.           **********************
  311.  
  312.  
  313.      A  Hard drive with PC-Task can either be a file on you Amiga hard disk
  314. which  is  treated  as  a hard drive in the emulator or a partition on your
  315. Amiga  hard  disk.  You can have two hard drives with the emulator C and D.
  316. If  you  chose  to set up only one it must be the C drive as the D drive is
  317. not  available if the C drive is not found.  The emulator will boot off the
  318. hard  drive  C  if  no  IBM  disk  is found in floppy A and hard drive C is
  319. bootable.   Note  that  some  versions of IBM DOS do not work on hard drive
  320. partitions  of  size larger than 32 megabytes so it is suggested you create
  321. hard drives of 32 megabytes or less.
  322.  
  323.      See  the  important  information  on  setting  up  a  partition in the
  324. technical  section  if  you want to use a real partition on your Amiga hard
  325. drive  instead  of  a  file  hard  drive.   It  should only be attempted by
  326. advanced users.
  327.  
  328.      If  you have a existing bridgeboard hard drive file all you have to do
  329. is  press the left mouse button over one of the hard drive text gadgets and
  330. enter   the   file   name   (including   path)   in   the  text  gadget  eg
  331. "Work:IBMHardDriveFile".
  332.  
  333.  
  334. If you want to create a hard drive file on your Amiga hard disk:-
  335.  
  336. Step 1.
  337. -------
  338.  
  339.     Click on the "Create HardDiskFile" gadget.
  340.  
  341. Step 2.
  342. -------
  343.  
  344.     Click  the  file  name  text  gadget and enter the file name (including
  345. path) you wish to use.  eg "Work:IBMHardDriveFile"
  346.  
  347. Step 3.
  348. -------
  349.  
  350.     Click  the size text gadget and enter the size in megabytes you wish to
  351. use.  A value of 32(Meg) or less is recommended.
  352.  
  353. Step 4.
  354. -------
  355.  
  356.     Click  the  "GoDoIt"  gadget.  If all is well your hard drive will then
  357. start  and  after some seconds (depending on the size you specified and the
  358. speed  of your hard drive) the file should be created.  DO NOT reset during
  359. this  step  as  resetting  while  a  hard  disk  is writing can cause major
  360. problems.
  361.  
  362. Step 5.
  363. -------
  364.  
  365.     Click  the  HardDrive  C  text gadget and enter the name you entered in
  366. step 2.  You might want to save this new configuration at this stage.
  367.  
  368. Step 6.
  369. -------
  370.  
  371.     Start  the  emulator  and  boot  off  a  MSDOS  disk that has the MSDOS
  372. programs  FDisk and Format contained on the disk.  These programs are MSDOS
  373. commands  that  are  not  contained in COMMAND.COM but are instead separate
  374. commands that come with MSDOS if you purchase it.
  375.  
  376. Step 7.
  377. -------
  378.  
  379.     Execute  the FDisk program and partition the hard disk (Note usually it
  380. is sufficient to just press return to all options).
  381.  
  382. Step 8.
  383. -------
  384.  
  385.     Now use the format command:-
  386.  
  387.         "format c:"         (Just to format it)
  388.         "format c: /s"      (If you want the Hard Disk to be bootable)
  389.  
  390.     Or you might also be able to make it bootable by using the command
  391.     "sys c:"
  392.  
  393. Step 9.
  394. -------
  395.  
  396.     You should now be able to access hard drive c:.
  397.  
  398.  
  399.           2.6 CGA/MDA options
  400.           *******************
  401.  
  402.  
  403.      You  can  emulate  two  different  display  adaptors,  MDA  which is a
  404. monochrome  text  only adaptor that will give faster updates, and CGA which
  405. gives  you  color  and  graphics capability.  You can toggle which mode you
  406. will  use  by  pressing the left mouse button on the gadget to the right of
  407. the "Graphics Adapter" text.
  408.  
  409.      If  you  choose  to use MDA you can set the two colors by pressing the
  410. left  mouse button on one of the two color boxes.  Then adjust the for red,
  411. green, and blue gadget controls on the right of them.
  412.  
  413.  
  414.           2.7 Parallel and Serial options
  415.           *******************************
  416.  
  417.  
  418.      You  can  toggle  the "Use Parallel" and "Use Serial" gadgets to on or
  419. off  by pressing the left mouse button on the gadgets.  When the gadget has
  420. a  tick  displayed  you will be able to use the parallel or serial port for
  421. printing  or communications with a modem during emulation.  By default both
  422. are  turned  on for use, if you want to use another Amiga program that uses
  423. either of these ports you might want to turn them off.
  424.  
  425.  
  426.           2.8 Priority options
  427.           ********************
  428.  
  429.  
  430.      Since your machine will still be multitasking and you will want to get
  431. maximum performance out of the emulator two options are provided to control
  432. processor  allocation.   "Priority  when  selected"  is  the  priority  the
  433. processor  should  give to running the emulator when the emulator screen is
  434. selected.   "Priority  when  not  selected"  is  the priority the processor
  435. should  give  to  running  the  emulator  when  the  emulator screen is not
  436. selected.
  437.  
  438.      Giving a value of one for "Priority when selected" allows the emulator
  439. to  get  the  majority of the processors time when you are working with it.
  440. Giving  a  value negative one for "Priority when not selected" allows other
  441. programs to get the majority of the processor when you are not working with
  442. the emulator.
  443.  
  444.  
  445.           2.9 Memory options
  446.           ******************
  447.  
  448.  
  449.      In  the bottom right box you will find two sets of up/down gadgets for
  450. changing  the  amount of memory the emulator will try to use for the IBM PC
  451. and  the  minimum  amount  it will leave free.  "Memory Kilobytes" sets the
  452. amount  of  memory  PC-Task  will  try  to  allocate for emulation with the
  453. maximum allowed being 704K.  If the emulator fails to get the amount set it
  454. will try for a smaller amount until it gets too low to be functional.
  455.  
  456.      "Minimum  Leave  Available"  is  the  minimum  the emulator will leave
  457. available  for other Amiga programs after allocating the main memory.  This
  458. can  be  used  to ensure that available memory does not get to low when the
  459. emulator allocates the amount it wants.  If memory available gets below 64K
  460. the  system  is  more likely to crash.  I suggest never lowering this value
  461. below 16K.
  462.  
  463.  
  464.           2.10 ToolTypes/ShellArguments
  465.           *****************************
  466.  
  467.  
  468.      PC-Task  has  some  options  that  cannot  be accessed from the option
  469. screen.   These options are more for the advanced user and are specified by
  470. adding the ToolType to the PC-Task icon or specifying the keyword after the
  471. program name when starting PC-Task from a Shell/CLI.
  472.  
  473. NOOPTIONSCREEN=ON
  474.  
  475.      This  stops the option screen from appearing.  Use it if you are happy
  476. with  the  options  you  have  set  up  and  want PC-Task to go straight to
  477. emulation.
  478.  
  479. SMOOTHSCREENCHANGE=ON
  480.  
  481.      Since version 1.10, PC-Task when changing screen resolution closes the
  482. current  screen  and  opens  a  new one.  This keyword makes it use the old
  483. method  which  may not work in the future, but it does look nicer since the
  484. screen  is  manipulated instead of a new one being opened.  It doesn't seem
  485. to work with the FORCENTSC keyword.
  486.  
  487. MAXDEPTHTWO=ON
  488. MAXDEPTHTHREE=ON
  489.  
  490.      These limit the maximum screen depth that PC-Task will open.  This can
  491. be  of  great use on a machine with chip (graphics) and slowfast (memory at
  492. $c00000  which  is called fast on the system but is as slow as chip memory)
  493. memory only.  On such a machine any more than a depth of two will slow down
  494. operation of PC-Task.  So if you don't mind loosing some colors you can get
  495. faster CGA operation by using either of these keywords.
  496.  
  497. FORCENTSC=ON
  498.  
  499.      Only  for  Kickstart 2.0- users.  This is for people with PAL machines
  500. who want the PC-Task screen to fill the complete screen.  You must have the
  501. NTSC  monitor  in your Workbench startup drawer or similar and have a newer
  502. type Agnus chip which can produce the 60Hz display.
  503.  
  504.  
  505. ***************************************************************************
  506.  
  507.  
  508.           3.1 General Emulating Info
  509.           **************************
  510.  
  511.  
  512.      The  emulator starts by displaying the memory available for the IBM PC
  513. and  Drive  A-D's  allocation.   It will then try to boot off the floppy in
  514. floppy drive A.  You then just have to insert a 720K DOS boot disk into the
  515. drive  A which is usually the internal drive DF0:.  It will try to boot off
  516. the  Hard  Drive C if no disk is found in A.  You should now be able to run
  517. IBM PC software as you would on a real IBM PC.
  518.  
  519.  
  520.           3.2 Turning the Mouse Driver on
  521.           *******************************
  522.  
  523.  
  524.      To  turn  the  mouse  driver  on press the LeftAmiga-P all at the same
  525. time.  This should usually be done just before starting the IBM program you
  526. wish to use the mouse with.
  527.  
  528.      You  can  also  use  the  MSDOS utility PCTMouse that is supplied with
  529. PC-Task to turn the mouse driver on.  If you want the mouse driver to be on
  530. always you can put the PCTMouse command in your AUTOEXEC.BAT file (see your
  531. MSDOS manual for more details on the AUTOEXEC.BAT file).
  532.  
  533.      Note  the  top  part  of the screen is cleared when you turn the mouse
  534. driver on and you can no longer use the screens drag and depth gadgets.
  535.  
  536.  
  537.           3.3 Quitting the emulator
  538.           *************************
  539.  
  540.  
  541.      To  exit out of the emulator press the LeftAmiga-RightAmiga-DEL all at
  542. the same time.  You can also use the MSDOS utility PCTQuit that is supplied
  543. with PC-Task.
  544.  
  545.  
  546. ***************************************************************************
  547.  
  548.  
  549.           4.1 Rebooting
  550.           *************
  551.  
  552.  
  553.      To  reboot the IBM just press the Ctrl-Alt-DEL all at the same time as
  554. you would do on a normal IBM.
  555.  
  556.  
  557.           4.2 Getting programs to work
  558.           ****************************
  559.  
  560.  
  561.      Some  programs might work when you use the MDA instead of CGA and visa
  562. versa.   Make  sure the program you are trying will work on a normal IBM PC
  563. and does not require a 80386 machine or EGA/VGA graphics.
  564.  
  565.  
  566.           4.3 Getting around in IBM DOS
  567.           *****************************
  568.  
  569.  
  570.      There  are  many versions of DOS for IBM PC's here is a quick guide to
  571. some of the most common commands.  The basic idea is to type "a:" return to
  572. refer  to  drive  a and "b:" return to refer to drive b etc.  Filenames are
  573. usually  of  8  characters with a 3 character ending describing the type of
  574. file.   File's  ending  with .exe or .com are usually programs which can be
  575. run by typing their name.  Script type files .bat are text files containing
  576. a  list  of  commands to execute which you can execute by just typing their
  577. name.  General text files usually end with .doc or .txt.
  578.  
  579. cls     Clear the screen.
  580.  
  581. date    Enter/View the date.
  582.  
  583. dir     Show's the names/dates/sizes of files and dirs contained
  584.         on a disk.
  585. dir/p   Same as dir above but you press a key after each page.
  586. dir/w   Same as dir but spread across the screen with just names.
  587.  
  588. cd      Make a directory the current(default) one, to move in and out
  589.         of dirs.
  590. cd db   Would go into the db directory if it was in the current dir.
  591. cd \    Take's you to the directory above(parent) the one you are
  592.         currently in.
  593.  
  594. type filename.???
  595.         Would display to the screen a text file called "filename.???"
  596.  
  597. del filename.???
  598.         Would delete a file called "filename.???"
  599.  
  600. copy filename.??? b:
  601.         Would copy the file called "filename.???" to the disk in
  602.         drive b.
  603.  
  604.  
  605.          4.4 Using CopyToA & CopyToI
  606.          ***************************
  607.  
  608.  
  609.      PC-Task  comes  with  two IBM-DOS utility programs.  They allow you to
  610. copy  files  between  the  PC-Task  program and your Amiga disks.  While in
  611. PC-Task you can:-
  612.  
  613.      CopyToI AmigaPathFile IBMPathFile
  614.  
  615.      To copy a file on your amiga Harddisk to your IBM floppy you could
  616.  
  617.         "CopyToI DH0:file.dat a:file.dat"
  618.  
  619.      CopyToA IBMPathFile AmigaPathFile
  620.  
  621.      To copy a file on your IBM floppy to your amiga Harddisk you could
  622.  
  623.         "CopyToA a:file.dat DH0:file.dat"
  624.  
  625.      To print a file using your Amiga printer driver you can
  626.  
  627.         "CopyToA a:file.txt PRT:"
  628.  
  629.      Or to copy a file directly to your Amiga parallel port you can
  630.  
  631.         "CopyToA a:file.txt PAR:"
  632.  
  633.  
  634.  
  635. ***************************************************************************
  636.  
  637.  
  638.          5.1 Creating a Hard Drive partition
  639.          ***********************************
  640.  
  641.  
  642.      The  setting  up  of  a  partition  on  your  hard  disk is a lot more
  643. complicated  than  using a file as a hard disk.  I suggest users use a hard
  644. disk  file as described in section 2.5 (Hard Drive options).  Only advanced
  645. users  should  attempt this and even they must keep in mind the wrong setup
  646. could  cause  the  loss  of other data on the hard disk.  You must assign a
  647. area  of  your  hard  drive  for  this  either  using software (if you have
  648. partition  creating  software  for  your  hard  drive) or actually create a
  649. mountlist  entry  for the partition in file "devs:mountlist".  Here are the
  650. entries  that  PC-Task  requires  with  the  restrictions  your  entry must
  651. follow:-
  652.  
  653. Device            - device name of the hard drive
  654. Unit              - unit number
  655. Flags             - flags usually 0
  656. Surfaces          - Must have value in range of 1 to 255
  657. BlockPerTrack     - Must have value in range of 8 to 63
  658. LowCyl            - Must have value in range of 0 to 65535
  659. HighCyl           - Must have value in range of 0 to 65535
  660.  
  661. BlockSize         - Must be the default 512 but is assumed.
  662.  
  663. ALSO:  ((HighCyl + 1) - LowCyl)   Must have value in range of 1 to 1024
  664.  
  665. Note:   It  is  recommended  that  you  don't  create partitions of over 32
  666. megabytes.
  667.  
  668.      If  your  partition  entries follow all the above rules then you don't
  669. have  to  worry about changing them and can skip the following.  If however
  670. your partition entries violate any of the above rules then you will have to
  671. make  changes  so that they don't.  Here is how the emulator calculates the
  672. important size and location information from the partition entries:-
  673.  
  674. StartOffsetInBlocks = LowCyl * BlocksPerTrack * Surfaces
  675. SizeInBlocks = ((HighCyl + 1) - LowCyl) * Surfaces * BlocksPerTrack
  676.  
  677.      The  way  the  size  and start offset is calculated means that you can
  678. change  values  of  Surfaces/BlocksPerTrack/LowCyl/HighCyl and still end up
  679. with the correct size and start offset.
  680.  
  681. Here is an example where the BlocksPerTrack is too large:-
  682.  
  683. INVALID1:
  684.         Device = scsi.device
  685.         Unit = 6
  686.         Flags = 0
  687.         LowCyl = 1100
  688.         HighCyl = 1400
  689.         Surfaces = 1
  690.         BlocksPerTrack = 64
  691. #
  692.  
  693. This  has  StartOffsetInBlocks  =  1100  *  1  *  64  =  70400  And has
  694. SizeInBlocks = ((1400 + 1) - 1100) * 1 * 64 = 19264
  695.  
  696. By halfing the BlocksPerTrack and doubling the number of cylinders from 301
  697. to 602, making sure the start offset and size are same it becomes:-
  698.  
  699. IBMC1:
  700.         Device = scsi.device
  701.         Unit = 6
  702.         Flags = 0
  703.         LowCyl = 2200
  704.         HighCyl = 2801
  705.         Surfaces = 1
  706.         BlocksPerTrack = 32
  707. #
  708.  
  709. This has StartOffsetInBlocks = 2200 * 1 * 32 =  70400
  710. And has SizeInBlocks = ((2801 + 1) - 2200) * 1 * 32 = 19264
  711.  
  712. Here  is  another example where the BlocksPerTrack is too large but in this
  713. case if we double the number of cylinders we will go above the 1024 limit:-
  714.  
  715. INVALID2:
  716.         Device = scsi.device
  717.         Unit = 6
  718.         Flags = 0
  719.         LowCyl = 1000
  720.         HighCyl = 1600
  721.         Surfaces = 1
  722.         BlocksPerTrack = 64
  723. #
  724.  
  725. This has StartOffsetInBlocks = 1000 * 1 * 64 =  6400
  726. And has SizeInBlocks = ((1600 + 1) - 1000) * 1 * 64 = 38464
  727.  
  728. By  halfing the BlocksPerTrack and doubling the surfaces we bring it within
  729. the restrictions:-
  730.  
  731. IBMC2:
  732.         Device = scsi.device
  733.         Unit = 6
  734.         Flags = 0
  735.         LowCyl = 1000
  736.         HighCyl = 1600
  737.         Surfaces = 2
  738.         BlocksPerTrack = 32
  739. #
  740.  
  741.  
  742. This has StartOffsetInBlocks = 1000 * 2 * 32 =  6400
  743. And has SizeInBlocks = ((1600 + 1) - 1000) * 2 * 32 = 38464
  744.  
  745.  
  746.           5.2 Creating fast temporary Drive in ram
  747.           ****************************************
  748.  
  749.  
  750.      Some  IBM programs do a large amount of disk read/writing of temporary
  751. files  and  so  you  might want to set up a a drive in ram for them to use.
  752. One  way is to use the Hard Drive D (or use C if you are not already).  You
  753. can do this by creating a HardDiskFile in ram, then going into the emulator
  754. FDisk'ing  and Format'ing it then quitting the emulator, coping the file to
  755. your hard disk and then creating a script file that copies the file to ram.
  756. So  then  you  just have to execute that script file before running PC-Task
  757. and you will always have a fast ram drive.
  758.  
  759.  
  760.           5.3 Amiga <-> IBM file exchanging with Floppies
  761.           ***********************************************
  762.  
  763.  
  764.      MSH  (see references) and similar products can be used to access files
  765. on  IBM  PC 720K disks from the Amiga environment.  If you are going to use
  766. one of them specify the drive name used to access the floppy in the PC-Task
  767. option screen.
  768.  
  769.      WARNING  filesystems usually make the assumption they are the only one
  770. with  access  to  a drive, hence they often keep data internally.  So don't
  771. write  from inside and outside PC-Task and expect both system to know about
  772. the change.  You can use the diskchange command from the Amiga side to tell
  773. the  Amiga  filesystem  that  the  disk  has been changed since it was last
  774. accessed but no such command exists under MSDOS.  I suggest you don't write
  775. to a drive from the Amiga side when PC-Task is running.
  776.  
  777.  
  778.           5.4 Amiga <-> IBM file exchanging with File Drives
  779.           **************************************************
  780.  
  781.  
  782.      MSH  (see  references) and similar products currently do not allow for
  783. reading of these PC-Task and bridgeboard type file drives.  BUT provided on
  784. the  PC-Task  disk  is  a device called "hardfile.device" which can be used
  785. with software to allow for reading and writing of files from file drives.
  786.  
  787.      You  must add an entry to you "devs:mountlist" and mount the device to
  788. be  able  to  access  the  file  drive.   Also  you must assign HF:  to the
  789. directory  containing the hard drive file.  And the hard drive file must be
  790. name   HardFile0   or   similar   depending  on  the  unit  you  use.   The
  791. hardfile.device  automatically  gets  past the partition information.  This
  792. adds  the  complication  that  you  loose  the  first  track  which must be
  793. accounted for in mountlist.
  794.  
  795.      When   PC-Task   creates   a   Hard  Drive  File  it  always  uses  32
  796. BlocksPerTrack  4  Surfaces and varies the amount of cylinders(16 per meg).
  797. But with the mountlist you must allow for that missing track.  A simple way
  798. to  do  this  is  to  set  surfaces  to  1 instead of 4 and to multiply the
  799. cylinder number by 4 and subtract one for the missing partition track.
  800.  
  801.      Using  the  way  the  hardfile.device calculates the drive size we can
  802. check to see we are getting the correct size for the harddrive which is the
  803. normal  size  minus the missing track(which is BlockPerTrack blocks).  Here
  804. is how the hardfile.device calculates size of a partition:-
  805.  
  806. SizeInBlocks = ((HighCyl + 1) - LowCyl) * Surfaces * BlocksPerTrack
  807.  
  808.  
  809. Here is MSH example for a one meg hard drive file:-
  810.  
  811. MH0:       Device = hardfile.device
  812.            Unit   = 0
  813.            Flags  = 0
  814.            Surfaces  = 1
  815.            BlocksPerTrack = 32
  816.            LowCyl = 0
  817.            HighCyl = 62
  818.  
  819.     Reserved = 0
  820.     FileSystem = L:MessyFileSystem
  821.     Stacksize = 4000
  822.     Priority = 5
  823.     GlobVec = -1
  824.     DosType = 0
  825.     Buffers = 5
  826.     BufMemType = 1 
  827. #
  828.  
  829. SizeInBlocks = ((62 + 1) - 0) * 1 * 32 = 2016
  830.                                          (which is 2048(1Meg) - 32 )
  831.  
  832.      DO  NOT  use this device name(eg MH0:) as the hard drive specification
  833. for Hard Drive C or Hard Drive D in PC-Task.
  834.  
  835.      WARNING  filesystems usually make the assumption they are the only one
  836. with  access  to  a drive, hence they often keep data internally.  So don't
  837. write  from inside and outside PC-Task and expect both system to know about
  838. the change.  You can use the diskchange command from the Amiga side to tell
  839. the  Amiga  filesystem  that  the  disk  has been changed since it was last
  840. accessed but no such command exists under MSDOS.  I suggest you don't write
  841. to a drive from the Amiga side when PC-Task is running.
  842.  
  843.  
  844.           5.5 Amiga <-> IBM file exchanging with Partitions
  845.           *************************************************
  846.  
  847.  
  848.      MSH  (see  references)  and similar products can read and write to IBM
  849. DOS  hard disk partitions.  Most products currently have reservations about
  850. accessing  hard  drives  so,  proceed  completely  at  your own risk.  This
  851. following  information  if  provided  as a guide, consult the other product
  852. documentation for a more complete explanation.
  853.  
  854.      The first thing to note is that you must have a different entry to the
  855. one  for  PC-Task  as for exchanging files you must make the start block be
  856. past  the  IBM  DOS  partition  information  for  the drive.  The partition
  857. information usually takes up the first BlocksPerTrack blocks.
  858.  
  859.      Here  is  how  a  device  calculates  the  important size and location
  860. information:-
  861.  
  862. StartOffsetInBlocks = LowCyl * BlocksPerTrack * Surfaces
  863. SizeInBlocks = ((HighCyl + 1) - LowCyl) * Surfaces * BlocksPerTrack
  864.  
  865. So we take the entry created for PC-Task:-
  866.  
  867. IBMC:
  868.         Device = scsi.device
  869.         Unit = 6
  870.         Flags = 0
  871.         LowCyl = 200
  872.         HighCyl = 801
  873.         Surfaces = 1
  874.         BlocksPerTrack = 32
  875. #
  876.  
  877. This has StartOffsetInBlocks = 200 * 1 * 32 =  6400
  878. And has SizeInBlocks = ((801 + 1) - 200) * 1 * 32 = 19264 
  879.  
  880.      And  since  it  has only one surface, to add the size of the partition
  881. information (BlocksPerTrack) we only have to add one to the LowCyl.
  882.  
  883. And with adding the MSH entries we get:-
  884.  
  885. MF6:
  886.         Device = scsi.device
  887.         Unit = 6
  888.         Flags = 0
  889.         LowCyl = 201
  890.         HighCyl = 801
  891.         Surfaces = 1
  892.         BlocksPerTrack = 32
  893.  
  894.     Reserved = 0
  895.     FileSystem = L:MessyFileSystem
  896.     Stacksize = 4000
  897.     Priority = 5
  898.     GlobVec = -1
  899.     DosType = 0
  900.     Buffers = 5
  901.     BufMemType = 1 
  902. #
  903.  
  904. This  has StartOffsetInBlocks = 201 * 1 * 32 = 6432 (6400 + 32)
  905. And has SizeInBlocks = ((801 + 1) - 201) * 1 * 32 = 19232 (19264 - 32)
  906.  
  907.      So  you  can  see  that  we have achieved out goal of making the start
  908. offset  go  past  the partition information and also subtracted the size of
  909. the partition table from the overall size of this partition.
  910.  
  911.      WARNING  filesystems usually make the assumption they are the only one
  912. with  access  to  a drive, hence they often keep data internally.  So don't
  913. write  from inside and outside PC-Task and expect both system to know about
  914. the change.  You can use the diskchange command from the Amiga side to tell
  915. the  Amiga  filesystem  that  the  disk  has been changed since it was last
  916. accessed but no such command exists under MSDOS.  I suggest you don't write
  917. to a drive from the Amiga side when PC-Task is running.
  918.  
  919.  
  920.           5.6 Using a 5 1/4 40 track drive to read 360K disks
  921.           ***************************************************
  922.  
  923.  
  924.      Some users have 5 1/4 inch disk drives connected to their Amiga's that
  925. have a switch for selecting 40 track operation or are 40 track drives only.
  926. These  probably  can  be  used with PC-Task if you add a mountlist entry so
  927. that  PC-Task  can see that they have 40 tracks instead of 80.  Add a entry
  928. like this to your "devs:mountlist" file:-
  929.  
  930.  
  931. MS3: /* Or whatever you want to call it */
  932.            Device = trackdisk.device
  933.            Unit   = 2                   /* 0=DF0: 1=DF1: 2=DF2: */ 
  934.            Flags  = 0
  935.            Surfaces  = 2
  936.            BlocksPerTrack = 11
  937.            LowCyl = 0
  938.            HighCyl = 39
  939. #
  940.  
  941.      Execute  the command "mount MS3:" from a Shell/CLI.  Then just specify
  942. MS3:   in the Drive A or B entry on the PC-Task option screen and it should
  943. use that drive a 360K 5 1/4 disk drive.
  944.  
  945.  
  946.           5.7 Getting as much memory as possible
  947.           **************************************
  948.  
  949.  
  950.      If  you  have 1 meg or less memory available on your machine you might
  951. not  be  getting  640K  for  your IBM-PC emulation.  Try one or more of the
  952. following:-
  953.  
  954.   Make a boot disk that only runs PC-Task (and TDPatch1213 if 1.2/1.3)
  955.   Select MDA instead of CGA.
  956.   Don't use Serial or Parallel.
  957.   Disconnect external disk drives.
  958.   Lower the value of "Minimum Leave Available".
  959.   Run the LeaveSlowFast program if you have a 512K Chip/512K Slow Fast.
  960.   Don't crunch the PC-Task program.
  961.  
  962.  
  963.           5.8 Getting faster emulation
  964.           ****************************
  965.  
  966.  
  967.      Use  the  MDA  Graphics  Adapter  which  doesn't  have  the colors and
  968. graphics  but  it  is faster updating.  If you have have only chip and slow
  969. fast memory this makes a big difference in general speed.
  970.  
  971.      If  you  must  use  CGA, add MAXDEPTHTWO=ON or MAXDEPTHTHREE=ON to the
  972. PC-Task  icon ToolTypes or your Shell/CLI arguments.  These keywords reduce
  973. the  number  of  colors displayed but make a large difference to speed on a
  974. machine with only chip and slow fast memory.
  975.  
  976. Other things that could help with emulation speed are:-
  977.  
  978.      Don't run other programs in the background.
  979.  
  980.      Having  true  Fast  ram.   Such  as  that  goes  on  most  Hard  drive
  981.      controllers such as the A590.
  982.  
  983.      A  faster  processor such as a 68020 or 68030 or 68040.  It is usually
  984.      very important to have at least a megabyte of 32bit ram with these as
  985.      well.
  986.  
  987.      Kickstart/Workbench 2.0 or later OS.
  988.  
  989.  
  990. ***************************************************************************
  991.  
  992.  
  993.           6.1 The Boot Procedure for IBM PC's
  994.           ***********************************
  995.  
  996.  
  997.      When  you  switch  on  an  IBM  PC  or  start PC-Task inbuilt routines
  998. commonly  called  the  BIOS do some initialization.  Then the system checks
  999. for  a  HardDrive C to read from and then give control to the DOS contained
  1000. on  the  boot  disk.  The the first sector on a DOS disk located on track 0
  1001. sector  1  side  0  called  the boot record, is loaded in and executed.  It
  1002. contains  a  routine to read in the ROM BIOS interface for the DOS which is
  1003. usually  contained  in a file called IBMBIO.COM or IO.SYS.  Then the actual
  1004. DOS program file called IBMDOS.COM or MSDOS.SYS is loaded and executed.
  1005.  
  1006.      Then  the  root directory of the boot disk is checked for a CONFIG.SYS
  1007. file  which  can contain information about device drivers and various other
  1008. configuration  details.   The  AUTOEXEC.BAT  file  is executed line by line
  1009. similar to the Amiga's "S:startup-sequence" file.
  1010.  
  1011.      COMMAND.COM  is  loaded  and  it  is the interface between DOS and the
  1012. user.  It produces the A> prompt or similar at which you type commands.
  1013.  
  1014.  
  1015. ***************************************************************************
  1016.  
  1017.  
  1018.           7.1 Technical Support
  1019.           *********************
  1020.  
  1021.  
  1022.     I  can  be  reached by the following methods, but these could change in
  1023. the future:-
  1024.  
  1025. Internet: bytey@werple.pub.uu.oz.au
  1026.           (to be changing to bytey@werple.apana.org.au)
  1027.             
  1028. FidoNet:  Chris Hames   at   3:633/353
  1029.  
  1030. Voice & Fax: +61 3 802 8513  ((03) 802 8513 in Australia)
  1031.  
  1032.  
  1033.           7.2 Trouble shooting
  1034.           ********************
  1035.  
  1036.  
  1037. Disk-Full requester when selecting CreateHardDiskFile:-
  1038.  
  1039.     You  have tried to create a file larger than the space available on the
  1040. hard  drive  you  specified.  Either reduce the size of the hard drive file
  1041. and try again or give a filename with a path to a different hard drive.
  1042.  
  1043.  
  1044. PC-Task68020+ hangs with GVP board:-
  1045.  
  1046.     Some  old  GVP  68030 Accelerator Boards have a PAL (a type of computer
  1047. chip)  that will will not allow the reading/writing from odd locations.  If
  1048. you  find  that  the  PC-Task68020+ version crashes or hangs soon after the
  1049. emulation  starts  this  could be the problem.  These people should contact
  1050. GVP for a replacement PAL which fixes this problem.
  1051.  
  1052.  
  1053. Wrong program for your processor:-
  1054.  
  1055.     You  have  tried  to  run  the  incorrect  version  of PC-Task for your
  1056. processor.  Try another version.
  1057.  
  1058.  
  1059. Error opening or using parallel.device:-
  1060.  
  1061.     PC-Task  cannot  allocate the parallel.device for use.  Possibly caused
  1062. by  another  program  using the printer or no parallel.device found in your
  1063. "devs:" directory.
  1064.  
  1065.  
  1066. Error opening or using misc.resource:-
  1067.  
  1068.     PC-Task  cannot  allocate  the serial port for use.  Possibly caused by
  1069. another program using the serial port.
  1070.  
  1071.  
  1072. Error opening or using ciab.resource:-
  1073.  
  1074.     PC-Task cannot allocate the timer required for use.  Possibly caused by
  1075. another  program  using  timers,  so  try  again  after quitting from other
  1076. programs.
  1077.  
  1078.  
  1079. Keyboard seems to miss keys or similar:-
  1080.  
  1081.     I  suggest  users  delete  the keyb entry from their AutoExec.bat entry
  1082. unless you really need it to remap to a german keyboard or similar.
  1083.  
  1084.  
  1085.           7.3 References
  1086.           **************
  1087.  
  1088.  
  1089. MSH
  1090.  
  1091.     "MESSYDOS FILE SYSTEM HANDLER" copyright by Olaf 'Rhialto' Seibert.  Is
  1092. a freely distributable piece of software that is available on the Fred Fish
  1093. disk  library  collection.   It  allows  you  to read and write IBM PC 720K
  1094. floppy  disks  as well as possibly hard disks from the Amiga environment as
  1095. if they where just Amiga format disks.  It is a shareware product so if you
  1096. get and use this software please reward its author.
  1097.  
  1098.  
  1099. Fred Fish Library
  1100.  
  1101.     Is  a group of disks containing Freely Redistributable Software.  Disks
  1102. can be obtained through Amiga User Groups and dealers.
  1103.  
  1104.  
  1105.           7.4 Glossary
  1106.           ************
  1107.  
  1108.  
  1109. PATH
  1110.  
  1111.     The  description  of  where  a file is located.  Can contain device and
  1112. directory  names.   An  example is "DF0:hello" is the directory path to the
  1113. directory  "hello" on the default internal floppy disk drive "DF0:".  So if
  1114. you  wanted  to  refer to a file called "world" in that directory you would
  1115. give the full filename (including path) of "DF0:hello/world".
  1116.  
  1117. DOUBLE-CLICK
  1118.  
  1119.     Two quick presses of the button.
  1120.  
  1121. DRAWER
  1122.  
  1123.     Directory.  Allows files to be stored in a tree like structure.
  1124.  
  1125. GADGET
  1126.  
  1127.     A  graphical  representation  for a function that can be used using the
  1128. mouse.
  1129.  
  1130. PROCESSOR
  1131.  
  1132.     The  main  CPU  (central  processing  unit)  that the computer executes
  1133. instructions  on.   The  Amiga range of computers is based on the 68000 and
  1134. later processors.
  1135.  
  1136.  
  1137. PARTITION
  1138.  
  1139.     Subsection of a hard disk usually treated as if a separate hard drive.
  1140.